export default {
    state: {
        activeIndex: "",
        // httpUrl: "http://192.168.80.158:8085",
        httpUrl: "http://localhost:8081/",
        classifys: "",
        details: "",
        alipay: "",
        card: "",
        idCard: "",
        billNum: "",
    },
    setActiveIndex(index) {
        this.state.activeIndex = index;
        console.log("修改index:" + index);
    },
    setClassifys(classify) {
        this.state.alipay = classify;
        console.log(classify);
    },
    setDetails(detail) {
        this.state.details = detail;
        console.log(detail);
    },
    setCard(card) {
        this.state.card = card;
        console.log(card);
    },
    setIdCard(idCard) {
        this.state.idCard = idCard;
        console.log(idCard);
    },
    setBillNum(billNum) {
        this.state.billNum = billNum;
        console.log(billNum);
    }

}